﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="StudentRequestForm.aspx.cs" Inherits="CourseScheduling.StudentRequestForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 446px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    &nbsp;&nbsp;&nbsp;&nbsp;
    <table width="100%">
        <tr valign="top">
            <td class="style1">
                <asp:Label ID="Student" runat="server" Text="Student #:"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="tbStudentNo" runat="server" Width="169px"></asp:TextBox>
            </td>
            <td>
                <asp:Label ID="TermYear" runat="server" Text="Requested Semester: "></asp:Label>
                &nbsp;
                <asp:DropDownList ID="ddlSemester" runat="server">
                    <asp:ListItem>Spring</asp:ListItem>
                    <asp:ListItem>Fall</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr valign="top">
            <td class="style1">
                <asp:Label ID="Name" runat="server" Text="Student Name:"></asp:Label>
                &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="tbStudentName" runat="server" Width="171px"></asp:TextBox>
            </td>
            <td>
                <asp:Label ID="requestedYear" runat="server" Text="Requested Year: "></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddlYear" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr valign="top">
            <td class="style1">
                &nbsp;</td>
            <td>
                <asp:Label ID="ProgCode" runat="server" Text="Program Code:  "></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ProgramCodeList" runat="server">
                    <asp:ListItem Value="CS">Computer Science</asp:ListItem>
                    <asp:ListItem Value="IS">Information Science</asp:ListItem>
                    <asp:ListItem Value="IT">Information Technology</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <br />
    <asp:Table ID="tblCourses" runat="server" BorderStyle="Double" GridLines="Both" Width="100%">
        <asp:TableRow ID="TableRow1" runat="server" Font-Bold="True" HorizontalAlign="Center">
            <asp:TableCell ID="TableCell1" runat="server" Width="15%">Course Number</asp:TableCell>
            <asp:TableCell ID="TableCell2" runat="server">Course Name</asp:TableCell>
            <asp:TableCell ID="TableCell3" runat="server" Width="15%">Day</asp:TableCell>
            <asp:TableCell ID="TableCell4" runat="server" Width="15%">Time</asp:TableCell>
            <asp:TableCell ID="TableCell5" runat="server" Width="10%">Required</asp:TableCell>
            <asp:TableCell ID="TableCell6" runat="server" Width="15%">Action</asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <br />
    <br />
    <table border="1">
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label7" runat="server" Text="Course:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCourses" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label8" runat="server" Text="Day:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlDay" runat="server">
                            </asp:DropDownList>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label9" runat="server" Text="Time:"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlTime" runat="server">
                                <asp:ListItem>Morning</asp:ListItem>
                                <asp:ListItem>Afternoon</asp:ListItem>
                                <asp:ListItem>Evening</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Required" runat="server" Text="Required:  "></asp:Label>
                        </td>
                        <td>
                            <asp:CheckBox ID="Req" runat="server" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="btnAdd_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <br />
    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />
</asp:Content>
